package cn.changeforyou.web.cloud.auth.service;

import cn.changeforyou.web.cloud.auth.entity.RoleInfo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 *
 */
public interface RoleInfoService extends IService<RoleInfo> {

    Page<RoleInfo> queryRoleByPage();

    List<RoleInfo> queryEnabledRoles();
}
